export function setLocalMsg(key,value){
  return localStorage.setItem(key,encodeURIComponent(value));
}

export function getLocalMsg(key){
  let value = localStorage.getItem(key);
  if(value){
    value = decodeURIComponent(value);
  }
  return value
}















